<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Pulog.Models.Link>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>AddLink</h2>

    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <%--<p>
                <label for="linkID">linkID:</label>
                <%= Html.TextBox("linkID") %>
                <%= Html.ValidationMessage("linkID", "*") %>
            </p>--%>
            <p>
                <label for="linkName">linkName:</label>
                <%= Html.TextBox("linkName") %>
                <%= Html.ValidationMessage("linkName", "*") %>
            </p>
            <p>
                <label for="linkDescription">linkDescription:</label>
                <%= Html.TextBox("linkDescription") %>
                <%= Html.ValidationMessage("linkDescription", "*") %>
            </p>
            <p>
                <label for="linkURL">linkURL:</label>
                <%= Html.TextBox("linkURL") %>
                <%= Html.ValidationMessage("linkURL", "*") %>
            </p>
            <p>
                <label for="linkOrder">linkOrder:</label>
                <%= Html.TextBox("linkOrder") %>
                <%= Html.ValidationMessage("linkOrder", "*") %>
            </p>
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

